<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/6/9
  Time: 10:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>销售机修改页面</title>
    <%--引入css文件--%>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/css/layui.css">
</head>
<body>
<form action="${pageContext.request.contextPath}/sale/update" method="post">
    <input type="hidden" name="id" value="${saleOpportunity.id}">
    客户:<select name="customer_Id">
                <option value="">请选择</option>
                <option value="101" <c:if test="${saleOpportunity.customer_Id=='101'}">selected</c:if> >客户1</option>
                <option value="102" <c:if test="${saleOpportunity.customer_Id=='102'}">selected</c:if> >客户2</option>
                <option value="103" <c:if test="${saleOpportunity.customer_Id=='103'}">selected</c:if> >客户3</option>
            </select>
    机会来源:<select name="source">
                <option value="">请选择</option>
                <option value="客户介绍" <c:if test="${saleOpportunity.source=='客户介绍'}">selected</c:if> >客户介绍</option>
                <option value="招标广告" <c:if test="${saleOpportunity.source=='招标广告'}">selected</c:if> >招标广告</option>
                <option value="广告宣传" <c:if test="${saleOpportunity.source=='广告宣传'}">selected</c:if> >广告宣传</option>
            </select>
    <br/>
    成功率:<select name="success">
                <option value="">请选择</option>
                <option value="50" <c:if test="${saleOpportunity.success=='50'}">selected</c:if> >%50</option>
                <option value="60" <c:if test="${saleOpportunity.success=='60'}">selected</c:if> >%60</option>
                <option value="70" <c:if test="${saleOpportunity.success=='70'}">selected</c:if> >%70</option>
                <option value="80" <c:if test="${saleOpportunity.success=='80'}">selected</c:if> >%80</option>
                <option value="90" <c:if test="${saleOpportunity.success=='90'}">selected</c:if> >%90</option>
            </select>
    客户联系人:<select name="contact_Id">
                <option value="">请选择</option>
                <option value="201" <c:if test="${saleOpportunity.contact_Id=='201'}">selected</c:if> >联系人1</option>
                <option value="202" <c:if test="${saleOpportunity.contact_Id=='202'}">selected</c:if> >联系人2</option>
                <option value="203" <c:if test="${saleOpportunity.contact_Id=='203'}">selected</c:if> >联系人3</option>
            </select>
    <br/>
    机会状态:<select name="status">
                <option value="">请选择</option>
                <option value="立项评估" <c:if test="${saleOpportunity.status=='立项评估'}">selected</c:if> >立项评估</option>
                <option value="商务谈判" <c:if test="${saleOpportunity.status=='商务谈判'}">selected</c:if> >商务谈判</option>
                <option value="解决方案" <c:if test="${saleOpportunity.status=='解决方案'}">selected</c:if> >解决方案</option>
            </select>
    <br/>
    机会概要:<textarea name="general">${saleOpportunity.general}</textarea>
    <br/>
    机会描述:<textarea name="description">${saleOpportunity.description}</textarea>
    <br/>
    <input type="reset" value="重置">
    <input type="submit" value="修改">
</form>

</body>
</html>
